<?php
session_start();
$date=$_REQUEST['date'];
$room_id=$_REQUEST['room_id'];
//$user_id = "hiendv2210";
//$room_id = '1';
//$price = '30';
//$time_start = "19/03/2012 09:00";
//$time_end = "19/03/2012 10:00";
if($date == ''){
	$date = date('d/m/Y');
}
include_once '../../Model/Room.php';
$room = new Room();
$result = $room->getTimelineJson($room_id, $date);

echo $result;
?>
